package com.zx.dto.request.order;

import com.zx.dto.response.PageDtoResult;
import com.zx.util.Page;
import com.zx.util.PageUtil;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author sunkai
 * @date 2022/8/20 0020 11:34
 * @mood zhou xun
 */
public class OrderDtoRequest  extends Page {
    private Integer id;                 //明细id
    private Integer orderId;            //订单id
    private List<Integer> goodsIdList;  //商品id
    private String  shopName;           //商店名字
    private Integer shopId;             //商店id;
    private Integer price;              //商品价格
    private BigDecimal freight;         //运费
    private Integer goodsQuantity;      //商品数量
    private Integer receivingId;        //收货地址id
    private String  receivingName;      //收货人姓名
    private String  phone;              //收货人电话
    private String  deliveryAddress;    //收货人地址
    private String  goodsImg;           //图片
    private Long userId;                //用户id
    private Integer stateId;            //订单状态id
    private Date createTime;            //创建时间
    private Date updateTime;            //修改时间
    private Integer available;          //可用
    private Integer goodsId;            //商品id
    private String goodsIntroduce;      //商品介绍
    private String goodsName;           //商品名字
    private String specificationValue;  //商品规格
    private BigDecimal totalAmount;     //总金额
    private BigDecimal payAmount;       //实际支付金额
    private String payType;             //支付方式,目前只支持微信支付
    private String stat;                //订单状态
    private Date deliveryTime;          //发货时间
    private Date turnoverTime;          //成交时间
    private Date payTime;               //付款时间
    private Integer cid;                //购物车id

    private List<OrderDtoRequest>  orderDtoRequestList; //订单详情

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public List<Integer> getGoodsIdList() {
        return goodsIdList;
    }

    public void setGoodsIdList(List<Integer> goodsIdList) {
        this.goodsIdList = goodsIdList;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public Date getTurnoverTime() {
        return turnoverTime;
    }

    public void setTurnoverTime(Date turnoverTime) {
        this.turnoverTime = turnoverTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getStat() {
        return stat;
    }

    public void setStat(String stat) {
        this.stat = stat;
    }

    public Integer getReceivingId() {
        return receivingId;
    }

    public void setReceivingId(Integer receivingId) {
        this.receivingId = receivingId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public BigDecimal getFreight() {
        return freight;
    }

    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }

    public Integer getGoodsQuantity() {
        return goodsQuantity;
    }

    public void setGoodsQuantity(Integer goodsQuantity) {
        this.goodsQuantity = goodsQuantity;
    }

    public String getReceivingName() {
        return receivingName;
    }

    public void setReceivingName(String receivingName) {
        this.receivingName = receivingName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public Integer getStateId() {
        return stateId;
    }

    public void setStateId(Integer stateId) {
        this.stateId = stateId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getAvailable() {
        return available;
    }

    public void setAvailable(Integer available) {
        this.available = available;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsIntroduce() {
        return goodsIntroduce;
    }

    public void setGoodsIntroduce(String goodsIntroduce) {
        this.goodsIntroduce = goodsIntroduce;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getSpecificationValue() {
        return specificationValue;
    }

    public void setSpecificationValue(String specificationValue) {
        this.specificationValue = specificationValue;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public List<OrderDtoRequest> getOrderDtoRequestList() {
        return orderDtoRequestList;
    }

    public void setOrderDtoRequestList(List<OrderDtoRequest> orderDtoRequestList) {
        this.orderDtoRequestList = orderDtoRequestList;
    }
}
